<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="/fuman/js/oversea.js"></script>
<script>
function addorder()
{
	$('#addstorageform').modal('show');	
}
</script>
<title>出货与收货合计</title>
<body class="withvernav">
<style type="text/css">
.stdtable tbody tr td{padding:3px 5px;}
/*.nothave{background:red}*/
.waring{background:#FF9900};
</style>
<div class="bodywrapper"> {{include file='/public/leftmenu.tpl'}}
  <div class="centercontent">
    <div class="pageheader notab">
      <h1 class="pagetitle">出货与收货统帐合计 </h1>
    <div class="menulist">
        <ul class="profile_summary">
         <li><a href="/factory/ajaxbutton?op=goodsReceiptList" ><span>单日对帐数据</span></a></li>
        </ul>
    </div>
</div>
    <!--pageheader-->
    
    <div id="contentwrapper" class="contentwrapper">
      <div id="basicform" class="subcontent">
          <!--搜索栏-->
           <div class="page" style="display:none">{{$pageList}} 计{{$total}}条记录，共{{$totalpage}}页</div>
    <form class="stdform stdform2" method="get" action="?" >
      <div class="tableoptions">
      <input type="hidden" name="op" id="op" value="goodsReciveCount">
      <span style="display:{{$findfactory}}">工厂：<select name="factory" id="factory">
      	<option value="">选择工厂</option>
		  <option value="工厂1" {{if $factory=='工厂1'}} selected{{/if}}>工厂1</option>
   		  <option value="工厂2" {{if $factory=='工厂2'}} selected{{/if}}>工厂2</option>
        </select></span>&nbsp;出货单时间段：
       <input type="text"  name="starttime" value="{{$starttime}}" onClick="WdatePicker({dateFmt:'yyyy-MM-dd '})" class="width100 hasDatepicker" /> - <input type="text"  name="endtime" value="{{$endtime}}" onClick="WdatePicker({dateFmt:'yyyy-MM-dd '})" class="width100 hasDatepicker" />
       &nbsp;
        <button class="btn btn_orange btn_search radius50">Search</button>    
      <a href="#">(差异件数为0的数据本次已标志正常)</a>      </div>
    </form>
    <!--搜索栏结束-->

             <table cellpadding="0" cellspacing="0" border="0" class="stdtable">
            	<thead>
                <tr bgcolor="#EEEEEE">
                   <th class="head1">工厂</th>
                    <th class="head1">订单编号</th>
                    <th class="head1">商品SKU</th>
                    <th class="head1">均码信息</th>
                  <th class="head1">工厂出货总量</th>
                    <th class="head1">复漫收货总量</th>
                    <th class="head1">差异件数</th>
                    <th class="head1">出厂价</th>
                    <th class="head1">是否批量</th>
                </tr>
                </thead>
                {{foreach from=$list item=li key=key}}
                    <tr>
                        <td>{{$li.factory}}</td>
                        <td class="{{$li.checkstatus}}"><a href="/factory/scanorder?other={{$li.order_number}}" target="_blank">{{$li.order_number}}</a></td>
                        <td class="{{if $li.skuerror==1}}waring{{/if}}">
                           <a href="/product/productlist?other={{$li.sku}}&filtertype=skuc" target="_blank">{{$li.sku}}</a>                   </td>
                        <td class="{{if $li.styleerror==1}}waring{{/if}}"> {{$li.specifications}}  </td>
                        <td>{{$li.send_count}}</td>
                        <td>{{$li.recive_count}}</td>
                        <td class="{{if $li.send_count neq $li.recive_count}}waring{{/if}}">{{$li.diff_count}}</td>
                        <td>{{$li.costprice}}</td>
                        <td>{{if $li.data_type==1}}批量{{else}}单件定制{{/if}}</td>
          			</tr>
               {{/foreach}}
            </table>
          
        <div class="page">{{$pageList}} 计{{$total}}条记录，共{{$totalpage}}页</div>
      </div></div>
</body>
</html>